<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><ui:insert name="title">Default Title</ui:insert></title>
    </h:head>

    <h:body>
        <h:form>
            <p:menubar autoDisplay="false">
                <p:menuitem value="Inicio" url="/"/> 
                <p:submenu label="Clientes">  
                    <p:menuitem value="Agregar" url="/faces/cliente/Create.xhtml"/>  
                    <p:menuitem value="Modificar" url="/faces/cliente/List.xhtml" /> 
                    <p:menuitem value="Eliminar" url="/faces/cliente/ListDestroy.xhtml" />  
                    <p:menuitem value="Pago Simple" url="/faces/pago/Create.xhtml" />
                    <p:menuitem value="Pago Multiple" url="/faces/pago/FileUpload.xhtml" />
                </p:submenu>
                <p:submenu label="Productos">  
                    <p:menuitem value="Agregar" url="/faces/producto/Create.xhtml"/>  
                    <p:menuitem value="Modificar" url="/faces/producto/List.xhtml"/> 
                    <p:menuitem value="Eliminar" url="/faces/producto/List.xhtml" />  
                </p:submenu>
                <p:submenu label="Proveedores">  
                    <p:menuitem value="Agregar" url="/faces/proveedor/Create.xhtml" />  
                    <p:menuitem value="Modificar" url="/faces/proveedor/List.xhtml" /> 
                    <p:menuitem value="Eliminar" url="/faces/proveedor/ListDestroy.xhtml" />  
                </p:submenu>
                <p:submenu label="Ventas">  
                    <p:menuitem value="Vender" url="/faces/venta/Create.xhtml" />  
                    <p:menuitem value="Listado" url="/faces/venta/List.xhtml" />  
                </p:submenu>
                <p:submenu label="Compras">  
                    <p:menuitem value="Comprar" url="/faces/compra/Create.xhtml" />  
                    <p:menuitem value="Listado" url="/faces/compra/List.xhtml" />  
                </p:submenu>
            </p:menubar>
        </h:form>
        
        <p>
            <ui:insert name="body">Default Body</ui:insert>
        </p>
    </h:body>

</html>
